﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000302 RID: 770
	public class TJoinItemList : TParseTreeNodeList
	{
		// Token: 0x06001B5E RID: 7006 RVA: 0x0032F2C1 File Offset: 0x0032D4C1
		public virtual void addJoinItem(TJoinItem joinitem)
		{
			base.addElement(joinitem);
		}

		// Token: 0x1700063F RID: 1599
		public TJoinItem this[int pos]
		{
			get
			{
				if (pos < 0 || pos >= base.size())
				{
					throw new IndexOutOfRangeException();
				}
				return (TJoinItem)this.elementAt(pos);
			}
		}

		// Token: 0x06001B60 RID: 7008 RVA: 0x0032F2EB File Offset: 0x0032D4EB
		public virtual TJoinItem getJoinItem(int position)
		{
			if (position < base.size())
			{
				return (TJoinItem)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x06001B61 RID: 7009 RVA: 0x0032F304 File Offset: 0x0032D504
		internal override void addParseTreeNode(object arg1)
		{
			this.addJoinItem((TJoinItem)arg1);
		}

		// Token: 0x06001B62 RID: 7010 RVA: 0x0032F312 File Offset: 0x0032D512
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06001B63 RID: 7011 RVA: 0x0032F324 File Offset: 0x0032D524
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getJoinItem(i).acceptChildren(v);
			}
			v.postVisit(this);
		}
	}
}
